﻿@model MvcApplication9.Models.Ship

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Ship</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Speed</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Speed)
    </div>

    <div class="display-label">Survey</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Survey)
    </div>

    <div class="display-label">Launch</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Launch)
    </div>

    <div class="display-label">Model</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Model)
    </div>

    <div class="display-label">Autonomy</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Autonomy)
    </div>

    <div class="display-label">DateBegin</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateBegin)
    </div>

    <div class="display-label">DateEnd</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateEnd)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
